/**
 * Created by Administrator on 2017/10/19.
 */
import React from 'react';
import ImgMusic from 'assets/img/music.png';
import css from './index.less';

export default class Music extends React.Component {

  click() {
    console.log(111);
    // 加入购物车
    Tida.cart({
      sellerNick: '盛夏测试店铺',
      itemId: '559964345943',
      skuId: '73068526031'
    }, function(data) {
      console.log(data);
    });
  }


  render() {
    return (

      <img src={ImgMusic} className={css.img} onClick={() => {
        this.click();
      }} />
    );
  }
}
